package com.landinfo.service;

import com.landinfo.domain.FlyTo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * Service Interface for managing FlyTo.
 */
public interface FlyToService {

    /**
     * Save a flyTo.
     *
     * @param flyTo the entity to save
     * @return the persisted entity
     */
    FlyTo save(FlyTo flyTo);

    /**
     * Get all the flyTos.
     *
     * @param pageable the pagination information
     * @return the list of entities
     */
    Page<FlyTo> findAll(Pageable pageable);

    /**
     * Get the "id" flyTo.
     *
     * @param id the id of the entity
     * @return the entity
     */
    FlyTo findOne(Long id);

    /**
     * Delete the "id" flyTo.
     *
     * @param id the id of the entity
     */
    void delete(Long id);
}
